# Maintainer: Raymond Hackley <RaymondHackley0689@protonmail.com>
pkgname=mint-x-icons
pkgver=1.6.4
pkgrel=1
pkgdesc="Mint-X icon theme"
options="!check" # It is an icon theme
url="https://github.com/linuxmint/mint-x-icons"
arch="noarch"
license="GPL-3.0-or-later"
_mint_x_icons_commit="4ab3c314db1b3751d87d5769629b28ac0ca3c671"
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/mint-x-icons/archive/$_mint_x_icons_commit.tar.gz"
builddir="$srcdir"/$pkgname-$_mint_x_icons_commit
subpackages="$pkgname-doc"

package() {
	mkdir -p "$pkgdir"
	mv -v "$builddir"/usr "$pkgdir"/

	install -Dm644 "$builddir"/debian/changelog \
		       "$pkgdir"/usr/share/doc/"$pkgname"/changelog
	install -Dm644 "$builddir"/debian/copyright \
		       "$pkgdir"/usr/share/doc/"$pkgname"/copyright
}

sha512sums="
21b19675dc92eed11abfd3364ccff340770a0da75f8d55a363f00857a37d3bd952e05950fb9c7315a5bf42929a4a4545fc29de60c46815a74918ff1d4cc10c4a  mint-x-icons-1.6.4.tar.gz
"
